<include file="header" />

<div class="main_container" id="forms_page">
	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Features</a> <span class="divider">/</span></li>
			<li class="active">Forms</li>
		</ul>
		<h2 class="heading">修改动态信息</h2>
	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>动态信息</h5>

				<div class="widget-buttons">
					<a href="#" data-title="Collapse" data-collapsed="false"
						class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>

			<div class="widget-body">
				<div class="widget-forms clearfix">
				
					<form class="form-horizontal" method="post" enctype="multipart/form-data" action="updateNew">

						<input type="hidden" name="nid" value="{$news.nid}">

						<div class="control-group">
							<label for="title" class=" control-label">动态标题</label>
							<div class="controls">
								<input type="text" class="form-control" id="title"
									name="title" placeholder="title"
									value="{$news.title}" >
							</div>
						</div>


						<div class="control-group">
							<label for="pic" class="col-md-2 control-label">动态图片</label>
							<div class="controls">
								<img class="img-rounded" id="pic" src="__PUBLIC__/Uploads/photo/{$news.pic}" alt="no pic" width=150px;height=150px; />
							</div>
						</div>

						<div class="control-group">
							<label for="pic2" class="col-md-2 control-label">修改图片</label>
							<div class="controls">
								<input type="file" id="pic2" name="pic">
							</div>
						</div>


						<div class="control-group">
							<label class="control-label">动态内容</label>
							<div class="controls">
								<textarea name="content" class="span3" rows="5"
									style="height: 100px;">{$news.content}</textarea>
							</div>
						</div>

						<div class="control-group">
							<label for="ntime" class="col-md-2 control-label">发布时间</label>
							<div class="controls">
								<input type="datetime" class="form-control" id="ntime"
									name="ntime" placeholder="ntime" value="{$news.ntime}"
									disabled="disabled">
							</div>
						</div>

						<div class="control-group">
							<label for="publisher" class="col-md-2 control-label">发布人</label>
							<div class="controls">
								<input type="text" class="form-control" id="publisher"
									name="publisher" placeholder="publisher" value="{$news.publisher}">
							</div>
						</div>
					
					<div class="widget-footer">
				<button class="btn btn-primary" type="submit">Save</button>
				<button class="btn" type="button">Cancel</button>
			</div>
			</form>
				</div>
				
				
			
			</div>

			
			</div>
			
		</div>
	</div>



	<include file="footer" />